import axios from "./index";
export const getList = () =>
  axios({
    method: "get",
    url: "http://192.168.52.18:2345/userinfo",
  });
export const delById = (id) =>
  axios({
    method: "delete",
    url: "http://192.168.52.18:2345/userinfo/" + id,
  });
export const userAdd = (data) => {
  return axios({
    method: "post",
    url: "http://192.168.52.18:2345/userinfo",
    data,
  });
};
